import { Suspense } from 'react'
import '@/assets/css/loadComp.less'
interface Props {
    children: React.ReactNode;
}
export default function LoadComp({ children }: Props) {
    return (
        <Suspense fallback={<div className='loading_bar'>Loading...</div>}>
            {children}
        </Suspense>
    )
}
